package com.bj58.groupbuy.action.model;

import com.bj58.ecat.gb.entity.other.AbstractOtherEntity;
import com.bj58.wf.dal.annotation.AutoId;
import com.bj58.wf.dal.annotation.Id;
import com.bj58.wf.dal.annotation.Table;


/**自定义报表 - 查询表的相关字段配置
 * @author HL
 */
@SuppressWarnings("serial")
@Table("ir_columns")
@AutoId
public class IRColumns extends AbstractOtherEntity{
	@Id
	private int id;
	
	private int reportId;//对应自定义查询表（IRReport）id
	
	private String ename; //字段英文名
	
	private String cname; //字段中文名
	
	private String tabType; //类别标签
	
	private int colType;//字段类型   0:字符   1:整形   2:浮点  3：百分比
	
	private String specialInSql; //sql中的特殊计算语句  如 SUM、AVG,默认为直接查询字段
	
	private int isOrderBy;//此字段是否支持排序
	

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getReportId() {
		return reportId;
	}

	public void setReportId(int reportId) {
		this.reportId = reportId;
	}

	public String getEname() {
		return ename;
	}

	public void setEname(String ename) {
		this.ename = ename;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public String getTabType() {
		return tabType;
	}

	public void setTabType(String tabType) {
		this.tabType = tabType;
	}

	public String getSpecialInSql() {
		return specialInSql;
	}

	public void setSpecialInSql(String specialInSql) {
		this.specialInSql = specialInSql;
	}

	public int getIsOrderBy() {
		return isOrderBy;
	}

	public void setIsOrderBy(int isOrderBy) {
		this.isOrderBy = isOrderBy;
	}

	public int getColType() {
		return colType;
	}

	public void setColType(int colType) {
		this.colType = colType;
	}

	
}
